var KOC = require("koc.common.utils");
var Interface_YunClean = require("./interface-yunclean");

var CommonUtils = module.exports = {
    //////////////////////////////////////////////
    //通用
    //////////////////////////////////////////////
    Common: {
        RequestExtend: function (req, res, next) {
            req.params = KOC.Lodash.extend(req.params, req.body, req.query);
            next();
        },
        AjaxPage: {
            Request: function (req) {
                var reqModel = {
                    hasError: false,
                    errorCode: "",
                    Cache: req.params.Cache,
                    Echo: req.params.sEcho,
                    RecordTotal: KOC.StringUtils.ToInt(req.params.P_Total),
                    MaxCode: req.params.P_MaxCode ? decodeURIComponent(req.params.P_MaxCode).trim() : "",
                    Column_Count: KOC.StringUtils.ToInt(req.params.iColumns),
                    Column_Title: req.params.sColumns ? decodeURIComponent(req.params.sColumns).split(",") : [],
                    GetPageInfo: KOC.StringUtils.ToBoolean(req.params.P_Get),
                    Start: KOC.StringUtils.ToInt(req.params.iDisplayStart),
                    Length: KOC.StringUtils.ToInt(req.params.iDisplayLength),
                    Sort_Dir: KOC.Lodash.includes(["ASC", "asc"], (req.params.Sort_Dir || req.params.sSortDir_0)) ? "ASC" : "DESC",
                    Sort_Col: req.params.Sort_Col || KOC.StringUtils.ToInt(req.params.iSortCol_0, -1),
                    Filter_Type: req.params.F_SType ? decodeURIComponent(req.params.F_SType).trim() : "",
                    Filter_Value: req.params.F_SValue ? decodeURIComponent(req.params.F_SValue).trim() : ""
                };
                if (reqModel.Column_Count != reqModel.Column_Title.length) {
                    reqModel.hasError = true;
                    reqModel.errorCode = "-2";
                    return reqModel;
                }
                if (typeof reqModel.Sort_Col === "number" && reqModel.Sort_Col < reqModel.Column_Count) {
                    reqModel.Sort_Col = reqModel.Column_Title[reqModel.Sort_Col];
                }
                return reqModel;
            },
            ErrorCode: function (flag, sEcho) {
                return {
                    flag: flag,
                    sEcho: sEcho,
                    iTotalRecords: 0,
                    iTotalDisplayRecords: 0,
                    sMaxCode: 0,
                    aaData: []
                };
            },
            PageData: function (reqModel, retValue) {
                var PageData = {
                    flag: 0,
                    sEcho: reqModel.Echo,
                    iTotalRecords: 0,
                    iTotalDisplayRecords: 0,
                    sMaxCode: "",
                    aaData: []
                };
                PageData.iTotalRecords = reqModel.GetPageInfo ? retValue.GetValue("PageInfo").RecordCount : reqModel.RecordTotal;
                PageData.iTotalDisplayRecords = reqModel.GetPageInfo ? retValue.GetValue("PageInfo").RecordCount : reqModel.RecordTotal;
                PageData.sMaxCode = reqModel.GetPageInfo ? retValue.GetValue("PageInfo").MaxCode : reqModel.MaxCode;
                return PageData;
            }
        },
        PageScript: function (res, script) {
            if (!res.locals.PageScript) {
                res.locals.PageScript = "";
            }
            res.locals.PageScript += script;
        },
        PageScript_StateData: function (res, script) {
            CommonUtils.Common.PageScript(res, "var _StateData = " + JSON.stringify(script) + ";");

        },
        PageScript_VirtualPath: function (res, script) {
            CommonUtils.Common.PageScript(res, "var _VirtualPath = " + JSON.stringify(script) + ";");

        },
        PageScript_PageData: function (res, script) {
            CommonUtils.Common.PageScript(res, "var _PageData = " + JSON.stringify(script) + ";");
        }
    },
    //////////////////////////////////////////////
    //单据号类型
    //////////////////////////////////////////////
    OrderNo: {
        VIP: {ID: "10", Name: "order_vip", Text: "VIP购买单"},
        Mounts: {ID: "11", Name: "order_mounts", Text: "坐骑购买单"},
        Guardian: {ID: "12", Name: "order_guardian", Text: "守护购买单"},
        Gift: {ID: "13", Name: "order_gift", Text: "礼物赠送单"},
        Pay: {ID: "14", Name: "order_pay", Text: "充值交易订单"},
        Withdraw: {ID: "15", Name: "order_withdraw", Text: "艺人申请提现单"},
        Horn: {ID: "16", Name: "order_horn", Text: "喇叭单据"},
        // Cash: {ID: "17", Name: "order_family_cash", Text: "公会结算单据"},已经停用了
        Pond: {ID: "18", Name: "order_pond", Text: "奖池爆奖单"},
        BankManage: {ID: "19", Name: "order_bankmanage", Text: "帐户资金管理表(管理员操作)"},
        CurrencyExchange: {ID: "20", Name: "order_currencyexchange", Text: "货币兑换表（金豆兑换金币）"},
        Lottery: {ID: "21", Name: "order_lottery", Text: "抽奖单据表"},
        Integral: {ID: "22", Name: "order_integral", Text: "艺人罚分表单"},
        PoundEgg: {ID: "23", Name: "order_poundegg", Text: "砸蛋游戏表单"},
        Live: {ID: "99", Name: "order_live", Text: "艺人直播单"}
    },
    //////////////////////////////////////////////
    //短信设置
    //////////////////////////////////////////////
    SMS: { //短信设置
        VerifyCode: { //验证码
            Interval: 60, //发送间隔(秒)
            Expired: 15, //有效时间
            DayMax: 10 //每天单个号码最多发送条数
        }
    },
    //////////////////////////////////////////////
    //个人用户
    //////////////////////////////////////////////
    User: {
        //////////////////////////////////////////////
        //用户昵称
        //////////////////////////////////////////////
        NickName: {
            fnBuild: function () {
                var _NickName = ["浪人", "剑客", "游侠", "英雄", "豪杰", "员外", "侠客", "骑士", "新贵", "狂人", "达人", "学士", "勇士", "首领", "高人", "宗师"];
                return _NickName[KOC.Lodash.random(0, _NickName.length - 1)] + KOC.Lodash.random(10000000, 99999999);
            },
            fnBuildVerify: function (Name, callback) {
                if (typeof Name === 'function') {
                    callback = Name;
                    Name = null;
                }
                Name = Name ? KOC.StringUtils.ToString(Name).replace(/ /g, "").replace(/　/g, "").replace(new RegExp([
                    "\ud83c[\udf00-\udfff]",
                    "\ud83d[\udc00-\ude4f]",
                    "\ud83d[\ude80-\udeff]"
                ].join("|"), "g"), "") : null;
                if (!Name || Name.length < 2 || Name.length > 15) {
                    callback(KOC.ReturnValue.New({
                        hasError: true,
                        message: "用户昵称必须在2-15个字符之间",
                        returnObject: this.fnBuild()
                    }));
                    return;
                }
                Interface_YunClean.AuditText(Name, function (retValue) {
                    if (retValue.hasError) {
                        retValue.message = "用户昵称包含敏感词，请重新输入";
                        retValue.returnObject = CommonUtils.User.NickName.fnBuild();
                    } else {
                        retValue.returnObject = Name;
                    }
                    callback(retValue);
                });
            }
        },
        //////////////////////////////////////////////
        //资金交易方式
        //////////////////////////////////////////////
        BankTransaction: {
            Data: [
                {Flag: 1, Currency: -1, Name: "入帐", GroupName: "", GroupCurrency: "", id: "in", text: "入帐 RZ"},
                {Flag: 1, Currency: 1, Name: "帐户充值", GroupName: "入帐-", GroupCurrency: "币-", id: 101, text: "入帐-帐户充值 RZ-ZHCZ"},
                {Flag: 1, Currency: 1, Name: "转为金币", GroupName: "入帐-", GroupCurrency: "币-", id: 102, text: "入帐-转为金币 RZ-ZWYB"},
                {Flag: 1, Currency: 1, Name: "房间爆奖", GroupName: "入帐-", GroupCurrency: "币-", id: 103, text: "入帐-房间爆奖 RZ-FJBJ"},
                {Flag: 1, Currency: 1, Name: "任务奖励", GroupName: "入帐-", GroupCurrency: "币-", id: 104, text: "入帐-任务奖励 RZ-RWJL"},
                {Flag: 1, Currency: 1, Name: "管理加币", GroupName: "入帐-", GroupCurrency: "币-", id: 105, text: "入帐-管理加币 RZ-GLJB"},
                {Flag: 1, Currency: 1, Name: "豆币兑换", GroupName: "入帐-", GroupCurrency: "币-", id: 106, text: "入帐-豆币兑换 RZ-DBDH"},
                {Flag: 1, Currency: 1, Name: "邀请佣金", GroupName: "入帐-", GroupCurrency: "币-", id: 107, text: "入帐-邀请佣金 RZ-YQYJ"},
                {Flag: 1, Currency: 1, Name: "用户抽奖", GroupName: "入帐-", GroupCurrency: "币-", id: 108, text: "入帐-用户抽奖 RZ-YHCJ"},
                {Flag: 1, Currency: 1, Name: "幸运礼物", GroupName: "入帐-", GroupCurrency: "币-", id: 109, text: "入帐-幸运礼物 RZ-XYLW"},
                {Flag: 1, Currency: 1, Name: "其它入帐", GroupName: "入帐-", GroupCurrency: "币-", id: 199, text: "入帐-其它入帐 RZ-QTRZ"},
                {Flag: 1, Currency: 2, Name: "礼物收入", GroupName: "入帐-", GroupCurrency: "豆-", id: 201, text: "入帐-礼物收入 RZ-LWSR"},
                {Flag: 1, Currency: 2, Name: "守护收入", GroupName: "入帐-", GroupCurrency: "豆-", id: 202, text: "入帐-守护收入 RZ-SHSR"},
                {Flag: 1, Currency: 2, Name: "喇叭收入", GroupName: "入帐-", GroupCurrency: "豆-", id: 203, text: "入帐-喇叭收入 RZ-LBSR"},
                {Flag: 1, Currency: 2, Name: "管理加豆", GroupName: "入帐-", GroupCurrency: "豆-", id: 204, text: "入帐-管理加豆 RZ-GLJD"},
                {Flag: 1, Currency: 2, Name: "其它入帐", GroupName: "入帐-", GroupCurrency: "豆-", id: 299, text: "入帐-其它入帐 RZ-QTRZ"},
                {Flag: -1, Currency: -1, Name: "出帐", GroupName: "", GroupCurrency: "", id: "out", text: "出帐 CZ"},
                {Flag: -1, Currency: 1, Name: "礼物购买", GroupName: "出帐-", GroupCurrency: "币-", id: 301, text: "出帐-礼物购买 CZ-LWGM"},
                {Flag: -1, Currency: 1, Name: "守护购买", GroupName: "出帐-", GroupCurrency: "币-", id: 302, text: "出帐-守护购买 CZ-SHGM"},
                {Flag: -1, Currency: 1, Name: "VIP购买", GroupName: "出帐-", GroupCurrency: "币-", id: 303, text: "出帐-VIP购买 CZ-VIPGM"},
                {Flag: -1, Currency: 1, Name: "座骑购买", GroupName: "出帐-", GroupCurrency: "币-", id: 304, text: "出帐-座骑购买 CZ-ZQGM"},
                {Flag: -1, Currency: 1, Name: "喇叭购买", GroupName: "出帐-", GroupCurrency: "币-", id: 305, text: "出帐-喇叭购买 CZ-LBGM"},
                {Flag: -1, Currency: 1, Name: "管理扣币", GroupName: "出帐-", GroupCurrency: "币-", id: 306, text: "出帐-管理扣币 CZ-GLKB"},
                {Flag: -1, Currency: 1, Name: "用户抽奖", GroupName: "出帐-", GroupCurrency: "币-", id: 307, text: "出帐-用户抽奖 CZ-YHCJ"},
                {Flag: -1, Currency: 1, Name: "用户砸蛋", GroupName: "出帐-", GroupCurrency: "币-", id: 308, text: "出帐-用户砸蛋 CZ-YHZD"},
                {Flag: -1, Currency: 2, Name: "其它出帐", GroupName: "出帐-", GroupCurrency: "豆-", id: 399, text: "出帐-其它出帐 CZ-QTCZ"},
                {Flag: -1, Currency: 2, Name: "金豆提现", GroupName: "出帐-", GroupCurrency: "豆-", id: 401, text: "出帐-金豆提现 CZ-YDTX"},
                {Flag: -1, Currency: 2, Name: "转为金币", GroupName: "出帐-", GroupCurrency: "豆-", id: 402, text: "出帐-转为金币 CZ-ZWYB"},
                {Flag: -1, Currency: 2, Name: "管理扣豆", GroupName: "出帐-", GroupCurrency: "豆-", id: 403, text: "出帐-管理扣豆 CZ-GLKB"},
                {Flag: -1, Currency: 2, Name: "豆币兑换", GroupName: "出帐-", GroupCurrency: "豆-", id: 404, text: "出帐-豆币兑换 CZ-DBDH"},
                {Flag: -1, Currency: 2, Name: "其它出帐", GroupName: "出帐-", GroupCurrency: "豆-", id: 499, text: "出帐-其它出帐 CZ-QTCZ"}
            ],
            fnInfo: function (id) {
                return KOC.Lodash.find(this.Data, {id: id});
            },
            fnInfoName: function (id) {
                var _Data = this.fnInfo(id);
                return _Data ? _Data.Name : "";
            }
        },
        //////////////////////////////////////////////
        //包裹交易方式
        //////////////////////////////////////////////
        PackageTransaction: {
            Data: [
                {Flag: 1, Name: "入帐", GroupName: "", id: "in", text: "入帐 RZ"},
                {Flag: 1, Name: "首充奖励", GroupName: "入帐-", id: 101, text: "入帐-首充奖励 RZ-SCJL"},
                {Flag: 1, Name: "任务奖励", GroupName: "入帐-", id: 102, text: "入帐-任务奖励 RZ-RWJL"},
                {Flag: 1, Name: "用户抽奖", GroupName: "入帐-", id: 103, text: "入帐-用户抽奖 RZ-YHCJ"},
                {Flag: 1, Name: "充值奖励", GroupName: "入帐-", id: 104, text: "入帐-充值奖励 RZ-CZJL"},
                {Flag: 1, Name: "其它入帐", GroupName: "入帐-", id: 199, text: "入帐-其它入帐 RZ-QTRZ"},
                {Flag: -1, Name: "出帐", GroupName: "", id: "out", text: "出帐 CZ"},
                {Flag: -1, Name: "使用出帐", GroupName: "出帐-", id: 201, text: "出帐-使用出帐 CZ-SYCZ"},
                {Flag: -1, Name: "其它出帐", GroupName: "出帐-", id: 299, text: "出帐-其它出帐 CZ-QTCZ"}
            ],
            fnInfo: function (id) {
                return KOC.Lodash.find(this.Data, {id: id});
            },
            fnInfoName: function (id) {
                var _Data = this.fnInfo(id);
                return _Data ? _Data.Name : "";
            }
        },
        //////////////////////////////////////////////
        //用户等级
        //////////////////////////////////////////////
        Level: {
            Data: [
                {Level: 36, EXP: 1200000000, Name: "神皇"},
                {Level: 35, EXP: 1100000000, Name: "仙皇"},
                {Level: 34, EXP: 1000000000, Name: "圣皇"},
                {Level: 33, EXP: 900000000, Name: "上皇"},
                {Level: 32, EXP: 800000000, Name: "太皇"},
                {Level: 31, EXP: 700000000, Name: "帝皇"},
                {Level: 30, EXP: 600000000, Name: "君皇"},
                {Level: 29, EXP: 500000000, Name: "人皇"},
                {Level: 28, EXP: 420000000, Name: "始皇"},
                {Level: 27, EXP: 340000000, Name: "帝王"},
                {Level: 26, EXP: 260000000, Name: "君王"},
                {Level: 25, EXP: 200000000, Name: "国王"},
                {Level: 24, EXP: 170000000, Name: "文王"},
                {Level: 23, EXP: 145000000, Name: "武王"},
                {Level: 22, EXP: 120000000, Name: "新王"},
                {Level: 21, EXP: 100000000, Name: "亲王"},
                {Level: 20, EXP: 80000000, Name: "嗣王"},
                {Level: 19, EXP: 60000000, Name: "郡王"},
                {Level: 18, EXP: 50000000, Name: "王爵"},
                {Level: 17, EXP: 40000000, Name: "公爵"},
                {Level: 16, EXP: 30000000, Name: "候爵"},
                {Level: 15, EXP: 23000000, Name: "伯爵"},
                {Level: 14, EXP: 17000000, Name: "子爵"},
                {Level: 13, EXP: 12000000, Name: "男爵"},
                {Level: 12, EXP: 5000000, Name: "武爵"},
                {Level: 11, EXP: 2000000, Name: "吏爵"},
                {Level: 10, EXP: 1000000, Name: "民爵"},
                {Level: 9, EXP: 500000, Name: "9富"},
                {Level: 8, EXP: 400000, Name: "8富"},
                {Level: 7, EXP: 350000, Name: "7富"},
                {Level: 6, EXP: 300000, Name: "6富"},
                {Level: 5, EXP: 250000, Name: "5富"},
                {Level: 4, EXP: 200000, Name: "4富"},
                {Level: 3, EXP: 150000, Name: "3富"},
                {Level: 2, EXP: 100000, Name: "2富"},
                {Level: 1, EXP: 50000, Name: "1富"},
                {Level: 0, EXP: 0, Name: "游民"}
            ],
            //////////////////////////////////////////////
            //取得用户等级
            //////////////////////////////////////////////
            fnLevel: function (EXP) {
                var _Data = {
                    Level: 0,
                    EXP: 0,
                    Name: ""
                };
                KOC.Lodash.forEach(this.Data, function (ThisValue) {
                    if (EXP >= ThisValue.EXP) {
                        _Data.Level = ThisValue.Level;
                        _Data.EXP = ThisValue.EXP;
                        _Data.Name = ThisValue.Name;
                        return false;
                    }
                });
                return _Data;
            },
            fnExp: function (Level) {
                var _Data = {
                    Level: 0,
                    EXP: 0,
                    Name: ""
                };
                KOC.Lodash.forEach(this.Data, function (ThisValue) {
                    if (Level >= ThisValue.Level) {
                        _Data.Level = ThisValue.Level;
                        _Data.EXP = ThisValue.EXP;
                        _Data.Name = ThisValue.Name;
                        return false;
                    }
                });
                return _Data;
            },
            //////////////////////////////////////////////
            //用户等级详细数据
            //////////////////////////////////////////////
            fnLevelInfo: function (EXP) {
                EXP = KOC.StringUtils.ToIntPositive(EXP);
                var _Data = {
                    Level: 0,
                    Level_Name: "",
                    Level_Next: 0,
                    Level_Next_Name: "",
                    EXP: EXP,
                    EXP_Next: 0,
                    Difference: 0
                };
                var _LevelInfo = this.fnLevel(EXP);
                _Data.Level = _LevelInfo.Level;
                _Data.Level_Name = _LevelInfo.Name;
                var _LevelNextInfo = KOC.Lodash.find(this.Data, {Level: _Data.Level + 1});
                if (!_LevelNextInfo) {
                    _Data.EXP_Next = _Data.EXP;
                    _Data.Level_Next = _Data.Level;
                    _Data.Level_Next_Name = _Data.Level_Name;
                } else {
                    _Data.EXP_Next = _LevelNextInfo.EXP;
                    _Data.Level_Next = _LevelNextInfo.Level;
                    _Data.Level_Next_Name = _LevelNextInfo.Name;
                }
                _Data.Difference = _Data.EXP_Next - _Data.EXP;
                return _Data;
            }
        },
        //////////////////////////////////////////////
        //银行
        //////////////////////////////////////////////
        Banks: {
            Data: ["中国银行", "中国工商银行", "中国建设银行", "中国农业银行", "中国邮政储蓄银行", "交通银行", "招商银行", "光大银行", "广发银行", "民生银行", "浦发银行", "中信银行", "华夏银行", "兴业银行", "北京银行", "平安银行"]
        }
    },
    //////////////////////////////////////////////
    //艺人相关
    //////////////////////////////////////////////
    Anchor: {
        //////////////////////////////////////////////
        //艺人等级
        //////////////////////////////////////////////
        Level: {
            Data: [
                {Level: 30, EXP: 6500000000, Name: "30"},
                {Level: 29, EXP: 5800000000, Name: "29"},
                {Level: 28, EXP: 5100000000, Name: "28"},
                {Level: 27, EXP: 4500000000, Name: "27"},
                {Level: 26, EXP: 3900000000, Name: "26"},
                {Level: 25, EXP: 3400000000, Name: "25"},
                {Level: 24, EXP: 2900000000, Name: "24"},
                {Level: 23, EXP: 2400000000, Name: "23"},
                {Level: 22, EXP: 2000000000, Name: "22"},
                {Level: 21, EXP: 1600000000, Name: "21"},
                {Level: 20, EXP: 1300000000, Name: "20"},
                {Level: 19, EXP: 1000000000, Name: "19"},
                {Level: 18, EXP: 750000000, Name: "18"},
                {Level: 17, EXP: 500000000, Name: "17"},
                {Level: 16, EXP: 300000000, Name: "16"},
                {Level: 15, EXP: 200000000, Name: "15"},
                {Level: 14, EXP: 100000000, Name: "14"},
                {Level: 13, EXP: 70000000, Name: "13"},
                {Level: 12, EXP: 50000000, Name: "12"},
                {Level: 11, EXP: 30000000, Name: "11"},
                {Level: 10, EXP: 20000000, Name: "10"},
                {Level: 9, EXP: 10000000, Name: "9"},
                {Level: 8, EXP: 6000000, Name: "8"},
                {Level: 7, EXP: 4000000, Name: "7"},
                {Level: 6, EXP: 2000000, Name: "6"},
                {Level: 5, EXP: 1000000, Name: "5"},
                {Level: 4, EXP: 500000, Name: "4"},
                {Level: 3, EXP: 200000, Name: "3"},
                {Level: 2, EXP: 50000, Name: "2"},
                {Level: 1, EXP: 0, Name: "1"}
            ],
            //////////////////////////////////////////////
            //取得艺人等级
            //////////////////////////////////////////////
            fnLevel: function (EXP) {
                var _Data = {
                    Level: 0,
                    EXP: 0,
                    Name: ""
                };
                KOC.Lodash.forEach(this.Data, function (ThisValue) {
                    if (EXP >= ThisValue.EXP) {
                        _Data.Level = ThisValue.Level;
                        _Data.EXP = ThisValue.EXP;
                        _Data.Name = ThisValue.Name;
                        return false;
                    }
                });
                return _Data;
            },
            //////////////////////////////////////////////
            //艺人等级详细数据
            //////////////////////////////////////////////
            fnLevelInfo: function (EXP) {
                EXP = KOC.StringUtils.ToIntPositive(EXP);
                var _Data = {
                    Level: 0,
                    Level_Name: "",
                    Level_Next: 0,
                    Level_Next_Name: "",
                    EXP: EXP,
                    EXP_Next: 0,
                    Difference: 0
                };
                var _LevelInfo = this.fnLevel(EXP);
                _Data.Level = _LevelInfo.Level;
                _Data.Level_Name = _LevelInfo.Name;
                var _LevelNextInfo = KOC.Lodash.find(this.Data, {Level: _Data.Level + 1});
                if (!_LevelNextInfo) {
                    _Data.EXP_Next = _Data.EXP;
                    _Data.Level_Next = _Data.Level;
                    _Data.Level_Next_Name = _Data.Level_Name;
                } else {
                    _Data.EXP_Next = _LevelNextInfo.EXP;
                    _Data.Level_Next = _LevelNextInfo.Level;
                    _Data.Level_Next_Name = _LevelNextInfo.Name;
                }
                _Data.Difference = _Data.EXP_Next - _Data.EXP;
                return _Data;
            }
        },
        //////////////////////////////////////////////
        //艺人热度
        //////////////////////////////////////////////
        Hot: {
            Message: 10, //消息
            Pomelo: 200, //星星
            PomeloSpecial: [20689, 31179, 8698, 6235, 7349, 20704, 5251, 20690, 1837, 6288, 2533, 4607, 6459, 5252, 1025, 5194, 3218, 20703, 6279, 6236],//星星特例用户ID
            PomeloSpecialMultiple: 50,//星星特例倍数
            Gift: 1, //礼物(系数) 实际热度 = 单价 * 热度系数 * 热度总系数
            Guardin: 1, //守护(系数) 实际热度 = 单价 * 热度系数 * 热度总系数
            Horn: 1, //喇叭(系数) 实际热度 = 单价 * 热度系数 * 热度总系数
            SignUp: 10000 //注册转化
        },
        //////////////////////////////////////////////
        //艺人标签
        //////////////////////////////////////////////
        Tags: {
            Data: ["酷女神", "萌妹子", "热舞派", "好声音", "脱口秀", "超搞笑", "最美COSER"]
        }
    },
    //////////////////////////////////////////////
    //公会
    //////////////////////////////////////////////
    Family: {
        //////////////////////////////////////////////
        //资金交易方式
        //////////////////////////////////////////////
        BankTransaction: {
            Data: [
                {Flag: 1, Name: "入帐", GroupName: "", id: "in", text: "入帐 RZ"},
                {Flag: 1, Name: "礼物提成", GroupName: "入帐-", id: 201, text: "入帐-礼物提成 RZ-LWTC"},
                {Flag: 1, Name: "守护提成", GroupName: "入帐-", id: 202, text: "入帐-守护提成 RZ-SHTC"},
                {Flag: 1, Name: "喇叭提成", GroupName: "入帐-", id: 203, text: "入帐-喇叭提成 RZ-LBTC"},
                {Flag: 1, Name: "其它入帐", GroupName: "入帐-", id: 299, text: "入帐-其它入帐 RZ-QTRZ"},
                {Flag: -1, Name: "出帐", GroupName: "", id: "out", text: "出帐 CZ"},
                {Flag: -1, Name: "金豆提现", GroupName: "出帐-", id: 401, text: "出帐-金豆提现 CZ-YDTX"},
                {Flag: -1, Name: "其它出帐", GroupName: "出帐-", id: 499, text: "出帐-其它出帐 CZ-QTCZ"}
            ],
            fnInfo: function (id) {
                return KOC.Lodash.find(this.Data, {id: id});
            },
            fnInfoName: function (id) {
                var _Data = this.fnInfo(id);
                return _Data ? _Data.Name : "";
            }
        }
    },
    //////////////////////////////////////////////
    //任务 MAXID:1004
    //////////////////////////////////////////////
    Task: {
        Data: [
            ////////////////
            //普通任务
            ////////////////
            {
                id: 1000, //任务ID
                Name: "领取红包", //任务名称
                Mode: "ONE", //任务类型 ONE DAY WEEK MONTH YEAR
                Objective: 1, //任务目标
                Status: 0, //任务状态 0:正常 1:锁定
                Reward: [ //任务奖励
                    {
                        Type: "COIN", //奖励类型 COIN EXP POMELO VIP MOUNTS GIFT HORN Emblem
                        ID: -1, //相关ID
                        Mode: null, //相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                        Value: 30, //奖励值
                        Text: "金币 * 30" //奖励文字1521
                    }
                ]
            },
            {
                id: 1001,
                Name: "修改昵称",
                Mode: "ONE",
                Objective: 1,
                Status: 0,
                Reward: [
                    {
                        Type: "COIN",
                        ID: -1,
                        Mode: null,
                        Value: 50,
                        Text: "金币 * 50"
                    }
                ]
            },
            {
                id: 1002,
                Name: "送出10个星星",
                Mode: "ONE",
                Objective: 10,
                Status: 0,
                Reward: [
                    {
                        Type: "COIN",
                        ID: -1,
                        Mode: null,
                        Value: 50,
                        Text: "金币 * 50"
                    }
                ]
            },
            {
                id: 1003,
                Name: "充值任意金额",
                Mode: "ONE",
                Objective: 1,
                Status: 0,
                Reward: [
                    {
                        Type: "COIN",
                        ID: -1,
                        Mode: null,
                        Value: 1000,
                        Text: "金币 * 1000"
                    }
                ]
            },
            {
                id: 1004,
                Name: "送出3个玫瑰",
                Mode: "ONE",
                Objective: 3,
                Status: 0,
                Reward: [
                    {
                        Type: "COIN",
                        ID: -1,
                        Mode: null,
                        Value: 100,
                        Text: "金币 * 100"
                    }
                ]
            },
            {
                id: 1005,
                Name: "绑定手机",
                Mode: "ONE",
                Objective: 1,
                Status: 0,
                Reward: [
                    {
                        Type: "COIN",
                        ID: -1,
                        Mode: null,
                        Value: 50,
                        Text: "金币 * 50"
                    }
                ]
            }
            ////////////////
            //徽章任务
            ////////////////
            // {
            //     id: 2000,
            //     Name: "获得仙女徽章",
            //     Mode: "ONE",//任务类型 ONE DAY WEEK MONTH YEAR
            //     Objective: 1,
            //     Status: 0,
            //     Reward: [
            //         {
            //             Type: "EMBLEM",//奖励类型 COIN EXP POMELO VIP MOUNTS GIFT HORN EMBLEM
            //             ID: 1000,
            //             Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
            //             Value: 7,
            //             Text: "仙女徽章 * 7天"
            //         }
            //     ]
            // }
        ],
        fnInfo: function (id) {
            return KOC.Lodash.find(this.Data, {id: KOC.StringUtils.ToIntPositive(id)});
        }
    },
    //////////////////////////////////////////////
    //抽奖
    //////////////////////////////////////////////
    Lottery: {
        Data: [
            {
                id: 1000, //抽奖ID
                Name: "抽奖1 * 1", //任务名称
                Price: 1000, //价格(金币)
                Count: 1, //抽奖次数
                Category: 1, //组别
                Status: 0 //状态 0:正常 1:锁定
            },
            {
                id: 2000, //抽奖ID
                Name: "抽奖2 * 1", //任务名称
                Price: 2500, //价格(金币)
                Count: 1, //抽奖次数
                Category: 2, //组别
                Status: 0 //状态 0:正常 1:锁定
            },
            {
                id: 3000, //抽奖ID
                Name: "抽奖3 * 1", //任务名称
                Price: 5000, //价格(金币)
                Count: 1, //抽奖次数
                Category: 3, //组别
                Status: 0 //状态 0:正常 1:锁定
            },
            {
                id: 4000, //抽奖ID
                Name: "抽奖4 * 1", //任务名称
                Price: 10000, //价格(金币)
                Count: 1, //抽奖次数
                Category: 4, //组别
                Status: 0 //状态 0:正常 1:锁定
            }
        ],
        fnInfo: function (id) {
            return KOC.Lodash.find(this.Data, {id: KOC.StringUtils.ToIntPositive(id)});
        }
    },
    //////////////////////////////////////////////
    //砸蛋游戏
    //////////////////////////////////////////////
    PoundEgg: {
        Data: [
            {
                id: 1000, //抽奖ID
                Name: "铜蛋", //任务名称
                Price: 1000, //价格(金币)
                Count: 1, //抽奖次数
                Category: 1, //组别
                Status: 0 //状态 0:正常 1:锁定
            },
            {
                id: 2000, //抽奖ID
                Name: "银蛋", //任务名称
                Price: 2500, //价格(金币)
                Count: 1, //抽奖次数
                Category: 2, //组别
                Status: 0 //状态 0:正常 1:锁定
            },
            {
                id: 3000, //抽奖ID
                Name: "金蛋", //任务名称
                Price: 5000, //价格(金币)
                Count: 1, //抽奖次数
                Category: 3, //组别
                Status: 0 //状态 0:正常 1:锁定
            }
        ],
        fnInfo: function (id) {
            return KOC.Lodash.find(this.Data, {id: KOC.StringUtils.ToIntPositive(id)});
        }
    },
    //////////////////////////////////////////////
    //商品信息
    //////////////////////////////////////////////
    Commodity: {
        //////////////////////////////////////////////
        //星星相关信息设置
        //////////////////////////////////////////////
        Pomelo: {
            Interval: 3, //领取间隔(分)
            BaseNum: 10, //普通用户每天领取数量
            EXP: 25, //赠送时用户所得经验
            EXP_Anchor: 0 //赠送是艺人所得经验
        },
        //////////////////////////////////////////////
        //VIP信息
        //////////////////////////////////////////////
        VIP: {
            Data: [
                {
                    id: 1000,
                    Name: "1月",
                    Price: 188000,
                    Mode: "MONTH", //DAY YEAR WEEK MONTH
                    Value: 1,
                    EXP: 0,
                    Status: 0
                }
            ],
            fnInfo: function (id) {
                return KOC.Lodash.find(this.Data, {id: KOC.StringUtils.ToIntPositive(id)});
            }
        },
        //////////////////////////////////////////////
        //座骑信息
        //////////////////////////////////////////////
        Mounts: {
            Data: [
                {
                    id: 26,
                    Name: "飞天扫帚",
                    Price: 58800,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 4,
                    Mall: true,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 2,
                    Name: "滑板",
                    Price: 28800,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 4,
                    Mall: true,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 27,
                    Name: "自行车",
                    Price: 38800,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 7,
                    Mall: true,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 43,
                    Name: "飞毯",
                    Price: 188000,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 10,
                    Mall: true,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 45,
                    Name: "船",
                    Price: 588000,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 13,
                    Mall: true,
                    EffectDuration: 5200,
                    Status: 0
                },
                {
                    id: 49,
                    Name: "飞机",
                    Price: 888000,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 19,
                    Mall: true,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 51,
                    Name: "白象",
                    Price: 6666000,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 22,
                    Mall: true,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: 56,
                    Name: "翼龙",
                    Price: 8888000,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: true,
                    EffectDuration: 8000,
                    Status: 0
                },


                /////////////////////
                {
                    id: 58,
                    Name: "玛莎拉蒂",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 59,
                    Name: "跑车",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 60,
                    Name: "宝马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 61,
                    Name: "嘲天吼",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },


                {
                    id: 25,
                    Name: "滑板",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 62,
                    Name: "标语滑板",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 63,
                    Name: "重装滑板",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 40,
                    Name: "驴",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 64,
                    Name: "踏云驴",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 65,
                    Name: "飞天驴",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 66,
                    Name: "喷火毛驴",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 661,
                    Name: "金扫帚",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 67,
                    Name: "彩虹扫帚",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 68,
                    Name: "龙纹扫帚",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 69,
                    Name: "黄金赛车",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 70,
                    Name: "黑金赛车",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 71,
                    Name: "火焰赛车",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 72,
                    Name: "舟",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 73,
                    Name: "画舫",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 74,
                    Name: "楼船",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 75,
                    Name: "飞花飞毯",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 76,
                    Name: "雷光飞毯",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 77,
                    Name: "旋风飞毯",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 78,
                    Name: "四人轻轿",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 79,
                    Name: "八抬大轿",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 80,
                    Name: "皇家天轿",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 81,
                    Name: "汽艇",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 82,
                    Name: "帆船",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 83,
                    Name: "游艇",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 84,
                    Name: "黄牛",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 85,
                    Name: "青牛",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 86,
                    Name: "烈焰牛",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 87,
                    Name: "汗血宝马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 88,
                    Name: "战神宝马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 89,
                    Name: "帝王宝马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 90,
                    Name: "马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 91,
                    Name: "汗血宝马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 92,
                    Name: "战神宝马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 93,
                    Name: "帝王宝马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 94,
                    Name: "轿车",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 95,
                    Name: "商务车",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 96,
                    Name: "豪车",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 97,
                    Name: "房车",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 98,
                    Name: "跑车",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 99,
                    Name: "宝马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 100,
                    Name: "玛莎拉蒂马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 101,
                    Name: "宾利",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 102,
                    Name: "飞机",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 103,
                    Name: "战斗机",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 104,
                    Name: "火箭",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 105,
                    Name: "飞碟",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 106,
                    Name: "白象",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 107,
                    Name: "六牙白象",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 108,
                    Name: "金甲白象",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 109,
                    Name: "莲花白象",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 110,
                    Name: "白泽",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 111,
                    Name: "冰雪白泽",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 112,
                    Name: "烈焰白泽",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 113,
                    Name: "圣光白泽",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 114,
                    Name: "朝天吼",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 115,
                    Name: "黑云吼",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 116,
                    Name: "雷霆吼",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 117,
                    Name: "火焰吼",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 118,
                    Name: "凤凰",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 119,
                    Name: "冰凤凰",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 120,
                    Name: "火凤凰",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 121,
                    Name: "金凤凰",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 122,
                    Name: "光之马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 123,
                    Name: "冷光之马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 124,
                    Name: "炎光之马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 125,
                    Name: "圣光之马",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 126,
                    Name: "神龙",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 127,
                    Name: "水龙",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 128,
                    Name: "火龙",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 129,
                    Name: "雷龙",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 130,
                    Name: "麒麟",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 131,
                    Name: "墨麒麟",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 132,
                    Name: "炎阳麒麟",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 133,
                    Name: "雷光麒麟",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 134,
                    Name: "斯芬克斯",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 135,
                    Name: "冰焰斯芬克斯",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 136,
                    Name: "火焰斯芬克斯",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 137,
                    Name: "圣焰斯芬克斯",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 138,
                    Name: "翼龙",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 139,
                    Name: "冰焰翼龙",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 140,
                    Name: "烈焰翼龙",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 141,
                    Name: "雷焰翼龙",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },

                {
                    id: 142,
                    Name: "战猪",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 143,
                    Name: "冰雪战猪",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 144,
                    Name: "火焰战猪",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },
                {
                    id: 145,
                    Name: "雷电战猪",
                    Price: 0,
                    Mode: "MONTH",
                    Value: 1,
                    EXP: 0,
                    UserLevel: 0,
                    Mall: false,
                    EffectDuration: 5000,
                    Status: 0
                },


                /////////////////////


                // {
                //     id: 31,
                //     Name: "凤凰",
                //     Price: 1588000,
                //     Mode: "MONTH",
                //     Value: 1,
                //     EXP: 0,
                //     UserLevel: 27,
                //     Mall: true,
                //     EffectDuration: 6000,
                //     Status: 1
                // },
                // {
                //     id: 32,
                //     Name: "神龙",
                //     Price: 1888000,
                //     Mode: "MONTH",
                //     Value: 1,
                //     EXP: 0,
                //     UserLevel: 27,
                //     Mall: true,
                //     EffectDuration: 6000,
                //     Status: 0
                // },
                {
                    id: "Guardian-MONTH",
                    Name: "白泽",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Guardian-YEAR",
                    Name: "光之马",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "VIP",
                    Name: "神龙",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-10",
                    Name: "战猪",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-11",
                    Name: "战猪",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-12",
                    Name: "战猪",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-13",
                    Name: "战猪",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-14",
                    Name: "战猪",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-15",
                    Name: "战猪",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-16",
                    Name: "战猪",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-17",
                    Name: "战猪",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-18",
                    Name: "战猪",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-19",
                    Name: "白泽",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-20",
                    Name: "白泽",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-21",
                    Name: "白泽",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-22",
                    Name: "白泽",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-23",
                    Name: "白泽",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-24",
                    Name: "白泽",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-25",
                    Name: "白泽",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-26",
                    Name: "白泽",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-27",
                    Name: "白泽",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-28",
                    Name: "麒麟",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-29",
                    Name: "麒麟",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-30",
                    Name: "麒麟",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-31",
                    Name: "麒麟",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-32",
                    Name: "麒麟",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-33",
                    Name: "麒麟",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-34",
                    Name: "麒麟",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-35",
                    Name: "麒麟",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                },
                {
                    id: "Level-36",
                    Name: "麒麟",
                    Mall: false,
                    EffectDuration: 8000,
                    Status: 0
                }
            ],
            fnInfo: function (id) {
                return KOC.Lodash.find(this.Data, {id: id});
            }
        },
        //////////////////////////////////////////////
        //守护信息
        //////////////////////////////////////////////
        Guardian: {
            Runway: 300,//跑道触发金额
            Data: [
                /**
                 * {
                 *   id: 1002, //ID
                 *   Name: "1月", //名称
                 *   Price: 588000, //588000
                 *   Mode: "MONTH", //模式 YEAR MONTH WEEK DAY
                 *   Value: 1, //值
                 *   Commission_Family: 0, //公会分成
                 *   Commission_Anchor: 0.5, //艺人分成
                 *   EXP: 588000, //守护人所得经验
                 *   EXP_Anchor: 294000, //被守护人所得经验
                 *   Hot: 1, //热度系数 默认值:1 实际热度 = Price * Hot * 总系数
                 *   Status: 0 //状态 0:正常 1:锁定
                 * },
                 */
                {
                    id: 1002,
                    Name: "1月",
                    Price: 1888,
                    Mode: "MONTH",
                    Value: 1,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 188800,
                    EXP_Anchor: 9000,
                    Status: 0
                }
                ,
                {
                    id: 1003,
                    Name: "1年",
                    Price: 18888,
                    Mode: "YEAR",
                    Value: 1,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 1888800,
                    EXP_Anchor: 90000,
                    Status: 0
                }
            ],
            fnInfo: function (id) {
                return KOC.Lodash.find(this.Data, {id: KOC.StringUtils.ToIntPositive(id)});
            }
        },
        //////////////////////////////////////////////
        //礼物信息
        //////////////////////////////////////////////
        Gift: {
            Runway: 888,  //跑道触发金额
            Float: { //礼物浮动窗口
                Price: 888, //单价
                Duration: 30 //时长(秒)
            },
            Headline: {//头条设置
                TriggerAmt: 888,//触发金额
                GuardTime: 10//保护时间(分钟)
            },
            Pond: {//奖池设置(房间)
                TriggerAmt: 88888,//触发金额
                MIN: 10,//返奖金额(最小)
                MAX: 50,//返奖金额(最大)
                Number: 8//最大中奖人数
            },
            Data: [
                /**
                 * 礼物-属性描述
                 * {
                 *   id,//礼物ID
                 *   Name,//礼物名称
                 *   Intro,//礼物说明
                 *   Price,//礼物单价
                 *   Commission_Family,//公会分成
                 *   Commission_Anchor,//艺人分成分成
                 *   EXP,//增加用户经验
                 *   EXP_Anchor,//增加艺人经验
                 *   Hot: 1, //热度系数 默认值:1 实际热度 = Price * Hot * 总系数
                 *   UserLevel,//用户等级
                 *   PurchaseMode,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹, 默认为0
                 *   IsVIP,//是否是VIP专属礼物,类型:BOOL,true-是,false-不是,不加此属性默认为false
                 *   IsGuardian,//是否是守护专属礼物,类型:BOOL,true-是,false-不是,不加此属性默认为false
                 *   IsLucky,//是否是幸运礼物,类型:BOOL,true-是,false-不是,不加此属性默认为false
                 *   IsActivity,//是否是活动礼物,类型:BOOL,true-是,false-不是,不加此属性默认为false
                 *   IsTask,//是否是艺人任务礼物,类型:BOOL,true-是,false-不是,不加此属性默认为true
                 *   IsHeadline,//是否上头条,类型:BOOL,true-上,false-不上,不加此属性默认为true
                 *   IsRunway,//是否上跑道,类型:BOOL,true-上,false-不上,不加此属性默认为true
                 *   IsFloat,//是否上浮动,类型:BOOL,true-上,false-不上,不加此属性默认为true
                 *   IsPond,//是否爆奖,类型:BOOL,true-上,false-不上,不加此属性默认为true
                 *   IsWeekStar,//是否是周星礼物,类型:BOOL,true-是,false-不是,不加此属性默认为false
                 *   WeekStarMin,//周星礼物榜单最小值
                 *   WeekStarAward,//周星礼物榜单奖金(单位:元)
                 *   AnchorTags,//艺人专属礼物的艺人标签,不是为null,不加此属性默认为null
                 *   RoomGift:{
                 *   Status,礼物的显示类型(针对特殊房间显示还是不显示):-1-不显示,1-显示
                 *   ROOM_ID,[ROOM_ID,ROOM_ID]房间ID
                 *   },//房间专属礼物显示和隐藏,默认null是显示
                 *   Tag: ["Hot", "WeekStar","Lucky","Activity","Exclusive","Advanced","turntable","General"],//礼物标签,类型:数组
                 *   RoomTemplate: ["Classic", "iMax", "IMax2"],//礼物所在房间标签,类型:数组
                 *   Streamer: {
                 *       Num: 99,//礼物的个数
                 *       Level: 1//流光的等级
                 *   },//显示流光的参数,达到礼物个数,显示相应等级流光
                 *   EffectDuration:1234,//动画的时长,类型:int,单位:毫秒
                 *   EffectAlign:"right_bottom",//left_top左上角 left_bottom左下角 right_top右上角 right_bottom右下角 all全屏
                 *   Status,//礼物状态,类型:BOOL,0-正常,1-不正常

                 *   BgColor: 0xc5f078//礼物的背景颜色,RGB设置
                 * },
                 */
                /**
                 * 活动礼物
                 * 过期的活动礼物:(52:仙丹,53:飞天羽衣,57:冲关劵,100:南瓜,102:爱心票,103:鸣狐面具,104:女神权杖,120:火鸡)
                 * 新加活动礼物id请不要重复
                 */
                {
                    id: 101,//礼物ID
                    Name: "炸弹",
                    Intro: "万圣节礼物 赠送减少南瓜值",
                    Price: 0,
                    Commission_Family: 0,
                    Commission_Anchor: 0,
                    EXP: 1000,
                    EXP_Anchor: 0,
                    UserLevel: 0,
                    PurchaseMode: 2,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    IsPond: false,
                    IsActivity: true,
                    Tag: ["Activity"],
                    RoomTemplate: ["Classic", "iMax", "IMax2"],
                    Streamer: {
                        Num: 99,
                        Level: 1
                    },
                    Status: 0,
                    BgColor: 0xb99d88
                },
                {
                    id: 105,//礼物ID
                    Name: "平安果",
                    Intro: "双旦活动礼物",
                    Price: 1000,
                    Commission_Family: 0.3,
                    Commission_Anchor: 0.6,
                    EXP: 1000,
                    EXP_Anchor: 600,
                    UserLevel: 0,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    IsTask: false,
                    IsWeekStar: true,
                    WeekStarMin: 0,
                    WeekStarAward: 1000,
                    Tag: ["WeekStar"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 3
                    },
                    Status: 1,
                    BgColor: 0xb99d88
                },
                {
                    id: 106,//礼物ID
                    Name: "贺卡",
                    Intro: "双旦活动礼物",
                    Price: 100,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 100,
                    EXP_Anchor: 40,
                    UserLevel: 0,
                    PurchaseMode: 2,//礼物的购买模式，0:不限制 1:只购买 2:只使用包裹
                    IsTask: false,
                    Tag: ["Activity"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 99,
                        Level: 1
                    },
                    Status: 0,
                    BgColor: 0x617596
                },
                /**
                 * 旧版礼物 2017-02-09 以前
                 * 改动注释( 黄瓜 啤酒 香蕉 幸运草 翔)
                 */
                /**
                 * 礼物
                 */
                // {
                //     id: 58,//礼物ID
                //     Name: "黄瓜",
                //     Intro: "",
                //     Price: 100,
                //     Commission_Family: 0,
                //     Commission_Anchor: 0.4,
                //     EXP: 100,
                //     EXP_Anchor: 40,
                //     UserLevel: 0,
                //     IsWeekStar: true,
                //     WeekStarMin: 30000,
                //     WeekStarAward: 1000,
                //     Tag: ["Hot", "WeekStar"],
                //     RoomTemplate: ["Classic", "iMax", "IMax2"],
                //     Streamer: {
                //         Num: 99,
                //         Level: 1
                //     },
                //     Status: 1,
                //     BgColor: 0xc5f078
                // },
                {
                    id: 29,
                    Name: "玫瑰",
                    Intro: "赠送最高可得1000倍返奖",
                    Price: 200,
                    Commission_Family: 0,
                    Commission_Anchor: 0.2,
                    EXP: 200,
                    EXP_Anchor: 40,
                    UserLevel: 0,
                    IsLucky: true,
                    IsWeekStar: true,
                    WeekStarMin: 30000,
                    WeekStarAward: 1000,
                    Tag: ["Hot", "Lucky", "WeekStar"],
                    RoomTemplate: ["Classic", "iMax", "IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 2
                    },
                    Status: 1,
                    BgColor: 0xffd0ce
                },
                // {
                //     id: 10,//礼物ID
                //     Name: "啤酒",
                //     Intro: "赠送最高可得1000倍返奖",
                //     Price: 500,
                //     Commission_Family: 0,
                //     Commission_Anchor: 0.2,
                //     EXP: 500,
                //     EXP_Anchor: 100,
                //     UserLevel: 0,
                //     IsLucky: true,
                //     Tag: ["Hot", "Lucky"],
                //     RoomTemplate: ["Classic", "IMax2"],
                //     Streamer: {
                //         Num: 66,
                //         Level: 2
                //     },
                //     Status: 1,
                //     BgColor: 0xe8c18f
                // },
                {
                    id: 30,
                    Name: "摩天轮",
                    Intro: "",
                    Price: 5000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 5000,
                    EXP_Anchor: 2000,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic", "iMax", "IMax2"],
                    Streamer: {
                        Num: 10,
                        Level: 4
                    },
                    Status: 1,
                    BgColor: 0xffe3d6
                },
                {
                    id: 21,//礼物ID
                    Name: "跑车",
                    Intro: "",
                    Price: 50000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 50000,
                    EXP_Anchor: 20000,
                    UserLevel: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 5000,
                    Status: 1,
                    BgColor: 0xa7e6ff
                },
                {
                    id: 62,//礼物ID
                    Name: "麻辣烫",
                    Intro: "",
                    Price: 6000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 6000,
                    EXP_Anchor: 2400,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 10,
                        Level: 4
                    },
                    EffectDuration: 3400,
                    Status: 1,
                    BgColor: 0xfdb177
                },
                {
                    id: 59,//礼物ID
                    Name: "啪啪啪",
                    Intro: "",
                    Price: 100,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 100,
                    EXP_Anchor: 40,
                    UserLevel: 0,
                    IsWeekStar: true,
                    WeekStarMin: 30000,
                    WeekStarAward: 1000,
                    Tag: ["Hot", "WeekStar"],
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 99,
                        Level: 1
                    },
                    Status: 1,
                    BgColor: 0xfee9ad
                },
                // {
                //     id: 60,//礼物ID
                //     Name: "香蕉",
                //     Intro: "",
                //     Price: 100,
                //     Commission_Family: 0,
                //     Commission_Anchor: 0.4,
                //     EXP: 100,
                //     EXP_Anchor: 40,
                //     UserLevel: 0,
                //     Tag: ["Hot"],
                //     RoomTemplate: ["Classic", "IMax2"],
                //     Streamer: {
                //         Num: 99,
                //         Level: 1
                //     },
                //     Status: 1,
                //     BgColor: 0xf7e8a3
                // },
                {
                    id: 63,//礼物ID
                    Name: "洪荒之力",
                    Intro: "",
                    Price: 100,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 100,
                    EXP_Anchor: 40,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 99,
                        Level: 1
                    },
                    Status: 1,
                    BgColor: 0xfff0bf
                },
                {
                    id: 11,//礼物ID
                    Name: "板砖",
                    Intro: "",
                    Price: 500,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 500,
                    EXP_Anchor: 200,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 2
                    },
                    Status: 1,
                    BgColor: 0xdeb59e
                },
                {
                    id: 13,//礼物ID
                    Name: "蛋糕",
                    Intro: "",
                    Price: 1000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 1000,
                    EXP_Anchor: 400,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 3
                    },
                    Status: 1,
                    BgColor: 0xfdf9dc
                },
                {
                    id: 16,//礼物ID
                    Name: "香水",
                    Intro: "",
                    Price: 3000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 3000,
                    EXP_Anchor: 1200,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 10,
                        Level: 3
                    },
                    Status: 1,
                    BgColor: 0xf6eede
                },
                // {
                //     id: 61,//礼物ID
                //     Name: "翔",
                //     Intro: "",
                //     Price: 100,
                //     Commission_Family: 0,
                //     Commission_Anchor: 0.4,
                //     EXP: 100,
                //     EXP_Anchor: 40,
                //     UserLevel: 0,
                //     Tag: ["Hot"],
                //     RoomTemplate: ["Classic", "IMax2"],
                //     Streamer: {
                //         Num: 99,
                //         Level: 1
                //     },
                //     Status: 1,
                //     BgColor: 0x4d3a07
                // },
                // {
                //     id: 28,//礼物ID
                //     Name: "幸运草",//礼物名称
                //     Intro: "赠送最高可得1000倍返奖",//简介说明
                //     Price: 100,//礼物价格
                //     Commission_Family: 0,//公会提成
                //     Commission_Anchor: 0.2,//艺人提成
                //     EXP: 100,//购买人EXP
                //     EXP_Anchor: 20,//艺人EXP
                //     UserLevel: 0,//需求用户等级
                //     IsLucky: true,
                //     IsWeekStar: true,
                //     WeekStarMin: 60000,
                //     WeekStarAward: 1000,
                //     Tag: ["Hot", "Lucky", "WeekStar"],
                //     RoomTemplate: ["Classic", "iMax", "IMax2"],
                //     Streamer: {//流光效果
                //         Num: 99,//最低数量
                //         Level: 1//特效等级
                //     },
                //     Status: 1,
                //     BgColor: 0x205f04
                // },
                {
                    id: 9,//礼物ID
                    Name: "示爱",
                    Intro: "",
                    Price: 200,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 200,
                    EXP_Anchor: 80,
                    UserLevel: 0,
                    IsWeekStar: true,
                    WeekStarMin: 15000,
                    WeekStarAward: 1000,
                    Tag: ["Hot", "WeekStar"],
                    RoomTemplate: ["Classic", "iMax", "IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 2
                    },
                    Status: 1,
                    BgColor: 0xfba69d
                },
                {
                    id: 18,//礼物ID
                    Name: "戒指",
                    Intro: "",
                    Price: 5000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 5000,
                    EXP_Anchor: 2000,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 10,
                        Level: 4
                    },
                    Status: 1,
                    BgColor: 0xede6d8
                },
                {
                    id: 24,//礼物ID
                    Name: "抱抱",
                    Intro: "守护专属礼物",
                    Price: 20000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 20000,
                    EXP_Anchor: 8000,
                    UserLevel: 0,
                    IsGuardian: true,
                    Tag: ["Exclusive"],
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 8000,
                    Status: 1,
                    BgColor: 0xffffff
                },
                {
                    id: 5,//礼物ID
                    Name: "生日蛋糕",//礼物名称
                    Intro: "",//简介说明
                    Price: 100000,//礼物价格
                    Commission_Family: 0,//公会提成
                    Commission_Anchor: 0.4,//艺人提成
                    EXP: 100000,//购买人EXP
                    EXP_Anchor: 40000,//艺人EXP
                    UserLevel: 0,//需求用户等级
                    Tag: ["Advanced"],//礼物类型
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 10000,
                    Status: 1,//状态 0:正常
                    BgColor: 0xff9ea8
                },
                {
                    id: 36,//礼物ID
                    Name: "私人别墅",
                    Intro: "",
                    Price: 80000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 80000,
                    EXP_Anchor: 32000,
                    UserLevel: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["Classic", "iMax", "IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 5000,
                    Status: 1,
                    BgColor: 0xb2faf7
                },
                {
                    id: 39,//礼物ID
                    Name: "浪漫烟火",
                    Intro: "",
                    Price: 100000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 100000,
                    EXP_Anchor: 40000,
                    UserLevel: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["Classic", "IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 5000,
                    Status: 1,
                    BgColor: 0xf9ddee
                },
                /**
                 * 普通礼物
                 * 礼物类型 Hot 热门, Advanced 高级, Luxury 豪华, Exclusive 专属
                 */
                {
                    id: 6,//礼物ID
                    Name: "棒棒糖",
                    Intro: "",
                    Price: 100,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 100,
                    EXP_Anchor: 40,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic", "iMax"],
                    Streamer: {
                        Num: 99,
                        Level: 1
                    },
                    Status: 1
                },
                {
                    id: 7,//礼物ID
                    Name: "小黄鸭",
                    Intro: "",
                    Price: 100,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 100,
                    EXP_Anchor: 40,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 99,
                        Level: 1
                    },
                    Status: 1
                },
                {
                    id: 8,//礼物ID
                    Name: "蓝色妖姬",
                    Intro: "",
                    Price: 200,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 200,
                    EXP_Anchor: 80,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 66,
                        Level: 2
                    },
                    Status: 1
                },
                {
                    id: 12,//礼物ID
                    Name: "萌熊",
                    Intro: "",
                    Price: 1000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 1000,
                    EXP_Anchor: 400,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 66,
                        Level: 3
                    },
                    Status: 1
                },
                {
                    id: 14,//礼物ID
                    Name: "熊猫",
                    Intro: "",
                    Price: 1000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 1000,
                    EXP_Anchor: 400,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 66,
                        Level: 3
                    },
                    Status: 1
                },
                {
                    id: 15,//礼物ID
                    Name: "唇膏",
                    Intro: "",
                    Price: 3000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 3000,
                    EXP_Anchor: 1200,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 10,
                        Level: 3
                    },
                    Status: 1
                },
                {
                    id: 17,//礼物ID
                    Name: "睫毛膏",
                    Intro: "",
                    Price: 3000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 3000,
                    EXP_Anchor: 1200,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 10,
                        Level: 3
                    },
                    Status: 1
                },
                {
                    id: 19,//礼物ID
                    Name: "项链",
                    Intro: "",
                    Price: 5000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 5000,
                    EXP_Anchor: 2000,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 10,
                        Level: 4
                    },
                    Status: 1
                },
                {
                    id: 20,//礼物ID
                    Name: "耳环",
                    Intro: "",
                    Price: 5000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 5000,
                    EXP_Anchor: 2000,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 10,
                        Level: 4
                    },
                    Status: 1
                },
                {
                    id: 22,//礼物ID
                    Name: "美妆三件套",
                    Intro: "",
                    Price: 9000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 9000,
                    EXP_Anchor: 3600,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 10,
                        Level: 4
                    },
                    Status: 1
                },
                {
                    id: 23,//礼物ID
                    Name: "首饰三件套",
                    Intro: "",
                    Price: 15000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 15000,
                    EXP_Anchor: 6000,
                    UserLevel: 0,
                    Tag: ["Hot"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 10,
                        Level: 4
                    },
                    Status: 1
                },
                /**
                 * 高级礼物
                 */
                {
                    id: 34,//礼物ID
                    Name: "热气球",
                    Intro: "",
                    Price: 50000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 50000,
                    EXP_Anchor: 20000,
                    UserLevel: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["Classic", "iMax"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 5000,
                    Status: 1
                },
                {
                    id: 35,//礼物ID
                    Name: "我选你",
                    Intro: "",
                    Price: 60000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 60000,
                    EXP_Anchor: 24000,
                    UserLevel: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 5000,
                    Status: 1
                },
                {
                    id: 37,//礼物ID
                    Name: "女神降临",
                    Intro: "",
                    Price: 80000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 80000,
                    EXP_Anchor: 32000,
                    UserLevel: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 5000,
                    Status: 1
                },
                {
                    id: 38,//礼物ID
                    Name: "烛光晚宴",
                    Intro: "",
                    Price: 100000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 100000,
                    EXP_Anchor: 40000,
                    UserLevel: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 5000,
                    Status: 1
                },
                /**
                 * 转盘礼物(未下架，允许包裹礼物赠送)
                 * 改动注释( 勾搭风 油精 小皮鞭)
                 */
                // {
                //     id: 41,//礼物ID
                //     Name: "勾搭",
                //     Intro: "",
                //     Price: 100,
                //     Commission_Family: 0,
                //     Commission_Anchor: 0.4,
                //     EXP: 100,
                //     EXP_Anchor: 40,
                //     UserLevel: 0,
                //     PurchaseMode: 2,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                //     Tag: ["turntable"],
                //     RoomTemplate: ["Classic"],
                //     Streamer: {
                //         Num: 99,
                //         Level: 1
                //     },
                //     Status: 0
                // },
                {
                    id: 42,//礼物ID
                    Name: "喜欢",
                    Intro: "",
                    Price: 100,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 100,
                    EXP_Anchor: 40,
                    UserLevel: 0,
                    PurchaseMode: 2,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["turntable"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 99,
                        Level: 1
                    },
                    Status: 0
                },
                // {
                //     id: 44,//礼物ID
                //     Name: "风油精",
                //     Intro: "",
                //     Price: 100,
                //     Commission_Family: 0,
                //     Commission_Anchor: 0.4,
                //     EXP: 100,
                //     EXP_Anchor: 40,
                //     UserLevel: 0,
                //     PurchaseMode: 2,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                //     // IsWeekStar: true,
                //     // WeekStarMin: 12000,
                //     // WeekStarAward: 1000,
                //     Tag: ["turntable"],
                //     RoomTemplate: ["Classic"],
                //     Streamer: {
                //         Num: 99,
                //         Level: 1
                //     },
                //     Status: 0
                // },
                // {
                //     id: 46,//礼物ID
                //     Name: "小皮鞭",
                //     Intro: "",
                //     Price: 100,
                //     Commission_Family: 0,
                //     Commission_Anchor: 0.4,
                //     EXP: 100,
                //     EXP_Anchor: 40,
                //     UserLevel: 0,
                //     PurchaseMode: 2,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                //     Tag: ["turntable"],
                //     RoomTemplate: ["Classic"],
                //     Streamer: {
                //         Num: 99,
                //         Level: 1
                //     },
                //     Status: 0
                // },
                {
                    id: 47,//礼物ID
                    Name: "与你共舞",
                    Intro: "",
                    Price: 100000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.4,
                    EXP: 100000,
                    EXP_Anchor: 40000,
                    UserLevel: 0,
                    PurchaseMode: 2,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["turntable"],
                    RoomTemplate: ["Classic"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 5400,
                    Status: 0
                },
                /**
                 * 新版礼物 2017-02-09 以后
                 */
                {
                    id: 70,//礼物ID
                    Name: "玫瑰",
                    Intro: "",
                    Price: 2,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 100,
                    EXP_Anchor: 20,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    // IsLucky: true,
                    // IsWeekStar: true,
                    // WeekStarMin: 60000,
                    // WeekStarAward: 1000,
                    Tag: ["Hot"],//["Hot", "WeekStar", "Lucky"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                    Num: 188,
                    Level: 1
                    },
                    Status: 0,
                    BgColor: 0x452435
                },
                {
                    id: 72,//礼物ID
                    Name: "么么",
                    Intro: "",
                    Price: 2,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 100,
                    EXP_Anchor: 20,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    // IsLucky: true,
                    // IsWeekStar: true,
                    // WeekStarMin: 12000,
                    // WeekStarAward: 1000,
                    Tag: [ "Hot"],//["WeekStar", "Lucky"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 188,
                        Level: 1
                    },
                    Status: 0,
                    BgColor: 0xffb8b4
                },
                {
                    id: 76,//礼物ID
                    Name: "喜欢",
                    Intro: "",
                    Price: 2,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 100,
                    EXP_Anchor: 20,
                    // IsLucky: true,
                    // IsWeekStar: true,
                    // WeekStarMin: 30000,
                    // WeekStarAward: 1000,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],//["WeekStar", "Lucky"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 188,
                        Level: 1
                    },
                    Status: 0,
                    BgColor: 0xf4c867
                },
                {
                    id: 28,//礼物ID
                    Name: "幸运草",
                    Intro: "",
                    Price: 5,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 500,
                    EXP_Anchor: 100,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 99,
                        Level: 2
                    },
                    Status: 0,
                    BgColor: 0x205f04
                },
                {
                    id: 58,//礼物ID
                    Name: "黄瓜",
                    Intro: "",
                    Price: 5,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 500,
                    EXP_Anchor: 100,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 99,
                        Level: 2
                    },
                    Status: 0,
                    BgColor: 0xc5f078
                },
                {
                    id: 60,//礼物ID
                    Name: "香蕉",
                    Intro: "",
                    Price: 5,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 500,
                    EXP_Anchor: 100,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 99,
                        Level: 2
                    },
                    Status: 0,
                    BgColor: 0xf7e8a3
                },
                {
                    id: 75,//礼物ID
                    Name: "掌声",
                    Intro: "",
                    Price: 5,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 500,
                    EXP_Anchor: 100,
                    // IsWeekStar: true,
                    // WeekStarMin: 30000,
                    // WeekStarAward: 1000,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],//["WeekStar"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 99,
                        Level: 2
                    },
                    Status: 0,
                    BgColor: 0x927d6c
                },
                {
                    id: 71,//礼物ID
                    Name: "蛋糕",
                    Intro: "",
                    Price: 10,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 1000,
                    EXP_Anchor: 200,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 2
                    },
                    Status: 0,
                    BgColor: 0x736c95
                },
                {
                    id: 10,//礼物ID
                    Name: "啤酒",
                    Intro: "",
                    Price: 10,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 1000,
                    EXP_Anchor: 200,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 2
                    },
                    Status: 0,
                    BgColor: 0x4d3a07
                },
                {
                    id: 61,//礼物ID
                    Name: "翔",
                    Intro: "",
                    Price: 10,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 1000,
                    EXP_Anchor: 200,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 2
                    },
                    Status: 0,
                    BgColor: 0x4d3a07
                },
                {
                    id: 41,//礼物ID
                    Name: "勾搭",
                    Intro: "",
                    Price: 20,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 2000,
                    EXP_Anchor: 400,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 3
                    },
                    Status: 0,
                    BgColor: 0x4d3a07
                },
                {
                    id: 44,//礼物ID
                    Name: "风油精",
                    Intro: "",
                    Price: 20,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 2000,
                    EXP_Anchor: 400,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 3
                    },
                    Status: 0,
                    BgColor: 0x704000
                },
                {
                    id: 46,//礼物ID
                    Name: "小皮鞭",
                    Intro: "",
                    Price: 20,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 2000,
                    EXP_Anchor: 400,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 66,
                        Level: 3
                    },
                    Status: 0,
                    BgColor: 0x704000
                },
                {
                    id: 80,//礼物ID
                    Name: "口红",
                    Intro: "",
                    Price: 50,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 5000,
                    EXP_Anchor: 1000,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 10,
                        Level: 3
                    },
                    Status: 0,
                    BgColor: 0xe2a882
                },
                {
                    id: 82,//礼物ID
                    Name: "香水",
                    Intro: "",
                    Price: 50,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 5000,
                    EXP_Anchor: 1000,
                    // IsWeekStar: true,
                    // WeekStarMin: 3000,
                    // WeekStarAward: 1000,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],//["WeekStar"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 10,
                        Level: 3
                    },
                    Status: 0,
                    BgColor: 0xea9a7f
                },
                {
                    id: 78,//礼物ID
                    Name: "钻戒",
                    Intro: "",
                    Price: 100,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 10000,
                    EXP_Anchor: 2000,
                    // IsWeekStar: true,
                    // WeekStarMin: 300,
                    // WeekStarAward: 1000,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Hot"],//["WeekStar"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 10,
                        Level: 4
                    },
                    Status: 0,
                    BgColor: 0x1d1512
                },
                {
                    id: 73,//礼物ID
                    Name: "跑车",
                    Intro: "",
                    Price: 888,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 88800,
                    EXP_Anchor: 16000,
                    PurchaseMode: 0,//礼物的购买模式，0:不限制，1:只购买 2:只使用包裹
                    Tag: ["Advanced"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 10000,
                    EffectAlign:"right_bottom",
                    Status: 0,
                    BgColor: 0xfce1a1
                },
                {
                    id: 74,//礼物ID
                    Name: "飞机",
                    Intro: "",
                    Price: 999,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 99900,
                    EXP_Anchor: 18000,
                    PurchaseMode: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 15000,
                    EffectAlign:"right_bottom",
                    Status: 0,
                    BgColor: 0xffffff
                },
                {
                    id: 79,//礼物ID
                    Name: "游艇",
                    Intro: "",
                    Price: 1888,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 188800,
                    EXP_Anchor: 37000,
                    PurchaseMode: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 18000,
                    EffectAlign:"right_bottom",
                    Status: 0,
                    BgColor: 0xd2e8ff
                },
                {
                    id: 81,//礼物ID
                    Name: "别墅",
                    Intro: "",
                    Price: 3888,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 388800,
                    EXP_Anchor: 60000,
                    PurchaseMode: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 24000,
                    EffectAlign:"right_bottom",
                    Status: 0,
                    BgColor: 0xc1edfa
                },
                {
                    id: 83,//礼物ID
                    Name: "航母",
                    Intro: "",
                    Price: 5888,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 588800,
                    EXP_Anchor: 100000,
                    PurchaseMode: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 38000,
                    EffectAlign:"right_bottom",
                    Status: 0,
                    BgColor: 0x777777
                },
                {
                    id: 84,//礼物ID
                    Name: "洞房花烛",
                    Intro: "",
                    Price: 1000000,
                    Commission_Family: 0,
                    Commission_Anchor: 0.8,
                    EXP: 1000000,
                    EXP_Anchor: 800000,
                    PurchaseMode: 0,
                    Tag: ["Advanced"],
                    RoomTemplate: ["IMax2"],
                    Streamer: {
                        Num: 1,
                        Level: 4
                    },
                    EffectDuration: 25000,
                    EffectAlign:"all",
                    Status: 1,
                    BgColor: 0x000000
                }
            ],
            fnInfo: function (id) {
                return KOC.Lodash.find(this.Data, {id: KOC.StringUtils.ToIntPositive(id)});
            }
        },
        //////////////////////////////////////////////
        //喇叭信息
        //////////////////////////////////////////////
        Horn: {
            Data: [
                /**
                 * {
                 *   Mode: "ROOM", //模式 ROOM SERVER
                 *   Name: "飞屏", //名称
                 *   Price: 2000, //单价
                 *   Commission_Family: 0, //公会分成
                 *   Commission_Anchor: 0, //艺人分成
                 *   EXP: 2000, //购买人所得经验
                 *   EXP_Anchor: 0, //艺人所得经验
                 *   Hot: 1, //热度系数 默认值:1 实际热度 = Price * Hot * 总系数
                 *   Status: 0 //状态 0:正常 1:锁定
                 * },
                 */
                {
                    Mode: "ROOM",
                    Name: "飞屏",
                    Price: 2000,
                    Commission_Family: 0,
                    Commission_Anchor: 0,
                    EXP: 2000,
                    EXP_Anchor: 0,
                    Status: 0
                }
                ,
                {
                    Mode: "SERVER",
                    Name: "喇叭",
                    Price: 5000,
                    Commission_Family: 0,
                    Commission_Anchor: 0,
                    EXP: 5000,
                    EXP_Anchor: 0,
                    Status: 0
                }
            ],
            fnInfo: function (mode) {
                return KOC.Lodash.find(this.Data, {Mode: mode});
            }
        },
        //////////////////////////////////////////////
        //徽章信息
        //////////////////////////////////////////////
        Emblem: {
            Data: [
                {
                    ID: 1000,
                    Name: "仙女徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: true,
                    WeekStar: false,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1001,
                    Name: "神君徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: true,
                    WeekStar: false,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1002,
                    Name: "黄瓜徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 58,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1003,
                    Name: "香蕉徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: false,
                    Gift_ID: 60,
                    Status: 1//0-正常，1-锁定
                },
                {
                    ID: 1004,
                    Name: "啪啪啪徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 59,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1005,
                    Name: "摩天轮徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: false,
                    Gift_ID: 30,
                    Status: 1//0-正常，1-锁定
                },
                {
                    ID: 1006,
                    Name: "风油精徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 44,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1007,
                    Name: "示爱徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 9,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1008,
                    Name: "别墅徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: false,
                    Gift_ID: 36,
                    Status: 1//0-正常，1-锁定
                },
                {
                    ID: 1009,
                    Name: "星光达人初级徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Number: [1],//获得周星榜榜首的个数
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1010,
                    Name: "星光达人中级徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Number: [2, 3, 4],//获得周星榜榜首的个数
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1011,
                    Name: "星光达人高级徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Number: [5, 6],//获得周星榜榜首的个数
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1012,
                    Name: "幸运草徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 28,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1013,
                    Name: "玫瑰徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 29,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1014,
                    Name: "万圣节金质守护徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: true,
                    WeekStar: false,
                    RankSeat: 1,//排行榜排位
                    Gift_ID: 100,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1015,
                    Name: "万圣节银质守护徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: true,
                    WeekStar: false,
                    RankSeat: 2,//排行榜排位
                    Gift_ID: 100,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1016,
                    Name: "万圣节铜质守护徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: true,
                    WeekStar: false,
                    RankSeat: 3,//排行榜排位
                    Gift_ID: 100,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1017,
                    Name: "万圣节金质捣蛋鬼徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: true,
                    WeekStar: false,
                    RankSeat: 1,//排行榜排位
                    Gift_ID: 101,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1018,
                    Name: "万圣节银质捣蛋鬼徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: true,
                    WeekStar: false,
                    RankSeat: 2,//排行榜排位
                    Gift_ID: 101,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1019,
                    Name: "万圣节铜质捣蛋鬼徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: true,
                    WeekStar: false,
                    RankSeat: 3,//排行榜排位
                    Gift_ID: 101,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1020,
                    Name: "感恩徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: true,
                    WeekStar: false,
                    Gift_ID: 120,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1021,
                    Name: "感恩徽章",
                    Price: 0,//在商城的购买价格
                    Type: 2,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: true,
                    WeekStar: false,
                    Gift_ID: 120,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1022,
                    Name: "玫瑰徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 70,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1022,
                    Name: "么么徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 72,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1023,
                    Name: "掌声徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 75,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1024,
                    Name: "喜欢徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 76,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1025,
                    Name: "钻戒徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 78,
                    Status: 0//0-正常，1-锁定
                },
                {
                    ID: 1027,
                    Name: "香水徽章",
                    Price: 0,//在商城的购买价格
                    Type: 1,//徽章类别1-艺人徽章，2-用户徽章
                    Mode: "DAY",//相关模式 HORN:ROOM,SERVER VIP,MOUNTS:DAY YEAR WEEK MONTH
                    Activity: false,
                    WeekStar: true,
                    Gift_ID: 82,
                    Status: 0//0-正常，1-锁定
                }
            ],
            fnInfo: function (ID) {
                return KOC.Lodash.find(this.Data, {ID: ID});
            },
            fnInfoGiftID: function (Gift_ID) {
                return KOC.Lodash.find(this.Data, {Gift_ID: Gift_ID});
            },
            fnInfoNumber: function (Number) {
                var data = null;
                for (var index in this.Data) {
                    if (this.Data[index].Number && this.Data[index].Number.length > 0
                        && KOC.Lodash.includes(this.Data[index].Number, Number)) {
                        data = this.Data[index];
                        break;
                    }
                }
                return data;
            }
        }
    },
    //////////////////////////////////////////////
    //流量策略
    //////////////////////////////////////////////
    ChannelStrategy: {
        /**
         * 流量策略描述
         * Default: { //默认策略
         *   Specific: { //指定艺人
         *       Ratio: 25, //分配比例
         *       SingleMAX: 2, //单个最大分配比
         *       List: []//艺人列表
         *   },
         *   Recommend: { //推荐艺人
         *       Ratio: 20, //分配比例
         *       SingleMAX: 2 //单个最大分配比
         *   },
         *   RatingS: { //S级艺人
         *       Ratio: 20, //分配比例
         *       SingleMAX: 2 //单个最大分配比
         *   },
         *   RatingA: { //A级艺人
         *       Ratio: 20, //分配比例
         *       SingleMAX: 2 //单个最大分配比
         *   },
         *   RatingB: { //B级艺人
         *       Ratio: 20, //分配比例
         *       SingleMAX: 2 //单个最大分配比
         *   },
         *   WeekStar: { //周星艺人(上周)
         *       Ratio: 12, //分配比例
         *       SingleMAX: 2 //单个最大分配比
         *   },
         *   HotPrevious: { //热度艺人(上轮)
         *       Ratio: 10, //分配比例
         *       SingleMAX: 2, //单个最大分配比
         *       Limit: 10 //个数(最多50)
         *   },
         *  Hot: { //热度艺人(本轮)
         *       Ratio: 20, //分配比例
         *       SingleMAX: 2, //单个最大分配比
         *       Limit: 10 //个数(最多50)
         *   },
         *   New: { //新进艺人
         *       Ratio: 30, //分配比例
         *       SingleMAX: 2, //单个最大分配比
         *       Day: 15, //新进时间(N天以内)
         *       Limit: 30 //个数(最多50)
         *   },
         *   Live: { //其它直播艺人
         *       Ratio: 15, //分配比例
         *       SingleMAX: 2 //单个最大分配比
         *   }
         * }
         * */
        Default: { //默认策略
            RatingS: { //推荐艺人
                Ratio: 20, //分配比例
                SingleMAX: 5 //单个最大分配比
            },
            RatingA: { //推荐艺人
                Ratio: 10, //分配比例
                SingleMAX: 3 //单个最大分配比
            },
            WeekStar: { //周星艺人(上周)
                Ratio: 12, //分配比例
                SingleMAX: 2 //单个最大分配比
            },
            HotPrevious: { //热度艺人(上轮)
                Ratio: 15, //分配比例
                SingleMAX: 2, //单个最大分配比
                Limit: 10 //个数(最多50)
            },
            Hot: { //热度艺人(本轮)
                Ratio: 35, //分配比例
                SingleMAX: 3, //单个最大分配比
                Limit: 15 //个数(最多50)
            },
            New: { //新进艺人
                Ratio: 35, //分配比例
                SingleMAX: 2, //单个最大分配比
                Day: 30, //新进时间(N天以内)
                Limit: 50 //个数(最多50)
            },
            Live: { //其它在线艺人随机进
                Ratio: 15, //分配比例
                SingleMAX: 2 //单个最大分配比
            }
        }
    },
    //////////////////////////////////////////////
    //统计信息
    //////////////////////////////////////////////
    Statistics: {
        // //////////////////////////////////////////////
        // //渠道信息
        // //////////////////////////////////////////////
        Channel: {
            Data: [
                {ID: '100', Name: "瑞狮网络"},
                {ID: '102', Name: "品友"},
                {ID: '105', Name: "睿视点控"},
                {ID: '110', Name: "猎鹰"},
                {ID: '111', Name: "新浪扶翼"},
                {ID: '112', Name: "粉丝通"},
                {ID: '113', Name: "搜狐汇算"},
                {ID: '114', Name: "青娱乐"},
                {ID: '117', Name: "广点通猎鹰"},
                {ID: '118', Name: "央广视讯"},
                {ID: '119', Name: "麒麟天地"}
            ],
            fnInfo: function (ID) {
                return KOC.Lodash.find(this.Data, {ID: ID});
            }
        }
    }
};